#pragma once
#include <nice2d/actions/finitetimeaction.h>

class FadeoutAction : public FiniteTimeAction
{
public:
    FadeoutAction(float duration = 3.0f);
    ~FadeoutAction();
protected:
    void update(float deltaTime)override;
private:
    std::unique_ptr<class FadeoutActionData> data;
};
